home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
bbs
/
logger.zip
/
LOGGER.DOC
< prev
next >
Wrap
Text File
|
1994-02-17
|
5KB
|
139 lines
LOGGER
For ALL bbs systems!
Written by Scott Lammers
Using Turbo-Pascal 6.0
Version 1.0A
Released February 17, 1994
OVERVIEW
Have you ever tried to figure out what had happened on your bulletin board
only to find you had to undergo a virtual wild-goose chase looking through
logs, questionaire answer forms, and whatever else just to find one entry?
I have, and I finally decided I'd had enough. About an hour later, I
found myself writing this little document for anybody who wishes to use this
little program. It's a quick hack, but I believe if you follow instructions
here, it should work quite handily.
What Logger is, essentially, is a program that will take any number of
files you choose(up to 255) and combine them into one large file for your ease
of review later on. Depending upon your input, it will then either empty out
these files or leave them alone afterward. These files are read in the order
that you choose and input into the merged log in the same order.
INSTALLATION
Create a directory and place the files LOGGER.EXE and LOGGER.CFG in this
directory. Ad calling commands into whatever batch file you wish to control
this program, and let it fly.
An example call to Logger is such:
CD C:\BBS\LOGS
LOGGER LOGGER.CFG
Line 1) CD C:\BBS\LOGS -- Moving to the directory logger is in
Line 2) LOGGER LOGGER.CFG -- Calling Logger and defining its
configuration file.
An example configuration file is such:
c:\bbs\logs\
3
c:\bbs\work\callers.log
Y
c:\bbs\work\newuser.log
Y
c:\bbs\work\sysop.log
Y
A line by line explanation:
1) c:\bbs\logs\ The complete path to the directory to which the
merged log file will be directed. The filename
itself will be the date in this format:
YYYYMMDD.LOG
2) 3 The total number of files to be merged. MUST be a
minimum of 1 and a maximum of 255. Logger will not
work otherwise.
3) c:\bbs\work\callers.log The filename, complete path included, of the file
to be added to the merged log. This file MUST
exist or Logger will not work. If you have no data
for the file just create an empty file using a text
editor. Logger will maintain this file however you
instruct from this point on.
4) Y Empty out this file? Y tells Logger to empty the
file of data. N tells it to leave it full. This
MUST be capitalised; Logger is case-sensitive at
this point.
5) \ Repeats of lines 3 and 4 with different files.
6) /
HOW IT WORKS
Logger will open the configuration file and read the path of the output
file. It will then determine the name of this file and open this file for
output.
Logger will then read the number of files you wish to merge and will begin
opening them in a sequential manner. As it opens each file it will read it
and copy its contents to the output file. It will then read the indicator
whether or not you wish the input file emptied out and act accordingly. The
input file will then be closed. Logger will then move on to the next file
listed in the configuration file.
This process continues until logger reads the indicated number of input
files.
LEGAL STUFF
Logger is distributed as FREEWARE! That's right! FREEWARE! You can
copy, use and distribute this package to your heart's content without any fear
of reprisal whatsoever.
I make only a few requests here:
1> Any changes or modifications made to this program will result in my being
notified.
2> Any bug reports will please be directed to me so a better, more bug-free
version may come about later.
3> I am not rich. There is no registration for this, but I do have limits to
my time and money - if you find this useful, please send a contribution my
way.
For contributions, bug reports, and notification of changes and
modifications, please mail this address:
Scott Lammers
1633 Raleigh Rd Apt 9
Lexington, KY 40505
PS - The source-code for this program *is* available at the reasonable price
of $7.50 - if you wish to have a copy, please send this amount in US backed
funds to the address given above, along with a specification of 5.25 or 3.5
inch floppy diskettes.